<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>加 <span th:text="${a}+${b}"></span> </p>
<p>减 <span th:text="${a}-${b}"></span></p>
<p>乘 <span th:text="${a}*${b}"></span></p>
<p>除 <span th:text="${a}div${b}"></span></p>
<p>比较 <span th:if="${a}>${b}">a>b</span></p>
<p>比较 <span th:if="${a}<${b}">a《b</span></p>
</body>
</html>